
using System;
using Qdb.Ext;

namespace Qdb.Internal
{
	/// <summary>
	/// qdb-specific exception.<br />
	/// <br />
	/// This exception is thrown when one of the qdb reflection methods fails.
	/// </summary>
	/// <remarks>
	/// qdb-specific exception.<br />
	/// <br />
	/// This exception is thrown when one of the qdb reflection methods fails.
	/// </remarks>
	/// <seealso cref="Qdb.Reflect">Qdb.Reflect</seealso>
	[System.Serializable]
	public class ReflectException : QdbRecoverableException
	{
		/// <summary>Constructor with the cause exception</summary>
		/// <param name="cause">cause exception</param>
		public ReflectException(Exception cause) : base(cause)
		{
		}

		/// <summary>Constructor with message</summary>
		/// <param name="message">detailed explanation</param>
		public ReflectException(string message) : base(message)
		{
		}
	}
}
